{include file="public_head"}
{include file="public_menu"}
    <div class="content_main">
        <div class="title_det">热卖榜</div>
        <ul class="list_hot_1">
            {volist name="hot_goods" id="item" k="key" offset="0" length="3"}
            <li>
                <a href="{:url('ShopGoods/index',['good_id'=>$item.id])}" target="_blank">
                    <div class="left det">
                        <div class="title">{$item.title|reStrLen=###,25}</div>
                        <div class="price">￥{$item.price}</div>
                        <div class="buy">立即购买</div>
                    </div>
                    <img src="/{$item.thumb_img}" class="left pic" style="width: 170px;">
                    {eq name="key" value="0"}
                    <div class="number first">{$key+1}<span>best</span></div>
                    {else/}
                    <div class="number first">{$key+1}</div>
                    {/eq}
                </a>
            </li>
            {/volist}
        </ul>
        <ul class="list_hot_2">
            {volist name="hot_goods" id="vo" k="key" offset="3"}
            <li>
                <a href="{:url('ShopGoods/index',['good_id'=>$vo.id])}" target="_blank">
                    <img src="/{$vo.thumb_img}" class="pic" style="width: 170px;">
                    <div class="title">{$vo.title}</div>
                    <div class="price">￥{$vo.price}</div>
                    <div class="buy">立即购买</div>
                    <div class="number">{$key+1}</div>
                </a>
            </li>
            {/volist}
        </ul>

    </div>
{include file="public_foot"}